package com.ultrasoft.farmasoft.repository;

import java.util.List;

import com.ultrasoft.farmasoft.domain.Credititem;

public interface CreditItemDao {
	public List<Credititem> getListCreditItem();
	public List<Credititem> getListCreditItemByAccountReceivableId(Integer accountReceivableId);
	public List<Credititem> getListCreditItemByPackageId(Integer packageId);
	public List<Credititem> getListCreditItemByItemId(Integer itemId);
	public List<Credititem> getListCreditItemByPackageIdByItemId(Integer packageId,Integer itemId);
	public Credititem findCreditItemByAccountReceivableIdByPackageIdByItemId(Integer accountReceivableId,Integer packageId,Integer itemId);				
	public void remove(Credititem creditItem);
	public void update(Credititem creditItem);
	public void add(Credititem creditItem);
}
